import {get,post} from '@/common/request'

export const login = data => get('user/getUserByCode', data,'登陆中')
export const getUserInfo = data => get('user/getUserInfo', data)
export const setUserInfo = data => post('user/setUserInfo', data)
export const getUserPhone = data => post('user/getUserPhone', data)
export const judgeIsFollow = data => post('user/judgeIsFollow', data)
export const getPromotionNumber = data => get('user/getPromotionNumber', data)

